import { proxy } from "./request/index";

function getImageUrl(fileName) {
  return "http:" + proxy.baseUrl + "/file/get?fileName=" + fileName + "";
}
function getQueryString(name) {
  var matches = window.location.hash.match(new RegExp(name+'=([^&]*)'));
  return matches ? matches[1] : null;
}
export { getImageUrl, getQueryString };
